[INFO] fetching crate poems 0.0.6...
[INFO] fixing poems-0.0.6 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate poems 0.0.6 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate poems 0.0.6
[INFO] finished tweaking crates.io crate poems 0.0.6
[INFO] tweaked toml for crates.io crate poems 0.0.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate poems 0.0.6 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate poems 0.0.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1
[INFO] running `Command { std: "docker" "start" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling multer v3.0.0
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking base64 v0.22.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking headers v0.4.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking rfc7239 v0.1.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking wildmatch v2.3.3
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking querystring v1.1.0
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking gdbg v0.1.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling poem-derive v3.0.0
[INFO] [stderr]    Compiling clap_derive v4.5.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking clap v4.5.3
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling poem-openapi-derive v5.0.0
[INFO] [stderr]     Checking serde_yaml v0.9.33
[INFO] [stderr]     Checking quick-xml v0.31.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking h2 v0.4.3
[INFO] [stderr]     Checking hyper v1.2.0
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking poem v3.0.0
[INFO] [stderr]     Checking poem-openapi v5.0.0
[INFO] [stderr]     Checking poems v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> hello_debug.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             std::env::set_var("RUST_LOG", "poem=debug");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>
[INFO] [stdout]    = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code
[INFO] [stdout]    |
[INFO] [stdout] 31 +             // FIXME: Audit that the environment access only happens in single-threaded code.
[INFO] [stdout] 32 ~             unsafe { std::env::set_var("RUST_LOG", "poem=debug") };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `poems`
[INFO] [stderr]  --> hello_ws.rs
[INFO] [stderr]   = cause: error: expected identifier, found keyword `use`
[INFO] [stderr]              --> hello_ws.rs:47:48
[INFO] [stderr]               |
[INFO] [stderr]            47 | pub fn hello(uri: &Uri) -> impl IntoResponse + use<> {
[INFO] [stderr]               |                                                ^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: `impl IntoResponse` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> hello_ws.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> hello_ws.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse {
[INFO] [stdout]    |                   ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse + use<> {
[INFO] [stdout]    |                                              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `poems`
[INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> hello_debug.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             std::env::set_var("RUST_LOG", "poem=debug");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>
[INFO] [stdout]    = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code
[INFO] [stdout]    |
[INFO] [stdout] 31 +             // FIXME: Audit that the environment access only happens in single-threaded code.
[INFO] [stdout] 32 ~             unsafe { std::env::set_var("RUST_LOG", "poem=debug") };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> hello_ws.rs
[INFO] [stderr]   = cause: error: expected identifier, found keyword `use`
[INFO] [stderr]              --> hello_ws.rs:47:48
[INFO] [stderr]               |
[INFO] [stderr]            47 | pub fn hello(uri: &Uri) -> impl IntoResponse + use<> {
[INFO] [stderr]               |                                                ^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]    Migrating main.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl IntoResponse` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> hello_ws.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> hello_ws.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse {
[INFO] [stdout]    |                   ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn hello(uri: &Uri) -> impl IntoResponse + use<> {
[INFO] [stdout]    |                                              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.88s
[INFO] [stderr] crater-edition-check: poems v0.0.6 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking poems v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> hello_debug.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             std::env::set_var("RUST_LOG", "poem=debug");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> hello_debug.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             std::env::set_var("RUST_LOG", "poem=debug");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `poems` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `poems` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1", kill_on_drop: false }`
[INFO] [stdout] 7ca8219a1ecb4b63dd43df39f7f31717fb2ca77a5fed990d46a96903db6d7db1
